package com.example.springapplicationdemo.exceptionhandler.exception;

/**
 * 业务级异常，用户不存在
 */
public class UserNotFoundException extends UserException{
    public static final int ERROR_CODE = BASE_ERROR_CODE - 1;
    public UserNotFoundException(Long userId) {
        super(ERROR_CODE, "User " + userId + " Not Found");
    }
}
